import Icon from "@ui/RJMart/icons";
import dimensionCode from "../../../../imgs/wechatCode.jpg";

export default class StepFour extends React.Component {
    render() {
        let orgId = Uts.getCookie("orgId");
        return (
            <div className={"order-result-content-warpper"}>
                <div className={"app-content-box"}>
                    <div style={{height:50}}/>
                    <div className={"order-result-content-step4"}>
                        <div className={"order-result-content-step4-top"}>
                            <div className={"order-result-content-top-circle"}>
                                <Icon
                                    type={"check"}
                                    width={55}
                                    style={{ color: "#18BE6A" }}
                                />
                            </div>
                            {orgId == 28 ?
                                <p>
                                    您还可以，
                                    <span
                                        onClick={() => {
                                            $state.go({
                                                stateName: "/"
                                            });
                                        }}
                                        className={"order-result-content-step4-buy"}
                                    >
                                    继续购物
                                </span>
                                </p>
                                : <div className="zen_m-v-10">
                                    <p>已提交审批</p><p className="zen_m-t-10"> 关注微信可进行审批或验收</p>
                                </div>
                            }
                        </div>
                        {orgId != 28&&
                        <div className={"order-result-content-step4-jixu"}>
                            <img src={dimensionCode} width={200} height={200}></img>
                        </div>
                        }
                    </div>
                </div>
            </div>
        );
    }
}
